Quiz Comment Box

SEARCHING ALGORITHMS

Searching algorithms are used to determine whether a specific piece of data exists within a data structure.If it does exist, a search algorithm will locate it and retrieve the information.
Searching algorithms are designed to check for an element or retrieve an element from any data structure where it is stored. Based on the type of search operation, these algorithms are generally classified into two categories:

1. Sequential search: in this, the list or array is traversed sequentially and every element is checked. For example: linear search.

2. Interval search: these algorithms are specifically designed for searching in sorted data-structures. These type of searching algorithms are much more efficient than linear search as they repeatedly target the center of the search structure and divide the search space in half. For example: binary search.


TYPES OF SEARCHING ALGORITHMS

linear search
binary search
jump search
BFS
DFS
interpolation search

QUESTION

can you think of other online companies that store huge amounts of data,
Which often requires you to search through so that you can find a particular item quickly?

previous

Algorithm Introduction